﻿namespace WXWorkSvc.Models;
public class AuthInfo
{
    public Agent[] agent { get; set; } = default!;

    public class Agent
    {
        public int agentid { get; set; }
        public string name { get; set; } = default!;
        public string round_logo_url { get; set; } = default!;
        public string square_logo_url { get; set; } = default!;
        public int appid { get; set; }
        public int auth_mode { get; set; }
        public bool is_customized_app { get; set; }
        public bool auth_from_thirdapp { get; set; }
        public AuthInfo_Privilege privilege { get; set; } = default!;
        public Shared_From shared_from { get; set; } = default!;
    }

    public class Shared_From
    {
        public string corpid { get; set; } = default!;
        public int share_type { get; set; } = default!;
    }
}
